package com.ruoyi.mall.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品属性中间对象 mall_sku
 * 
 * @author ruoyi
 * @date 2020-05-20
 */
public class MallSku extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** skuID */
    private Long skuId;

    /** 商品Id */
    @Excel(name = "商品Id")
    private Long productId;

    /** 属性id */
    @Excel(name = "属性id")
    private Long propertyId;

    public void setSkuId(Long skuId) 
    {
        this.skuId = skuId;
    }

    public Long getSkuId() 
    {
        return skuId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setPropertyId(Long propertyId) 
    {
        this.propertyId = propertyId;
    }

    public Long getPropertyId() 
    {
        return propertyId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("skuId", getSkuId())
            .append("productId", getProductId())
            .append("propertyId", getPropertyId())
            .toString();
    }
}
